const math/big._S
11 uses
math/big (current package)
arith.go#L19: _S = _W / 8 // word size in bytes
floatmarsh.go#L41: sz += 4 + n*_S // exp + mant
int.go#L527: buf := make([]byte, len(x.abs)*_S)
intmarsh.go#L22: buf := make([]byte, 1+len(x.abs)*_S) // extra byte for version and sign bit
nat.go#L1313: for j := 0; j < _S; j++ {
nat.go#L1345: z = z.make((len(buf) + _S - 1) / _S)
nat.go#L1348: for k := 0; i >= _S; k++ {
nat.go#L1349: z[k] = bigEndianWord(buf[i-_S : i])
nat.go#L1350: i -= _S
ratmarsh.go#L24: buf := make([]byte, 1+4+(len(x.a.abs)+len(x.b.abs))*_S) // extra bytes for version and sign bit (1), and numerator length (4)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |